define(['jquery', 'bootstrap', 'backend', 'table', 'form', 'template', 'upload', 'bootstrap-datetimepicker'], function ($, undefined, Backend, Table, Form, Template, Upload) {

    var Controller = {

        rentedit: function () {

            Controller.api.bindevent();

            //防止被渲染对象还没有生成，就执行了对time的语句
            // setTimeout(function () {
            //     $('.dp').datetimepicker({
            //         format: 'LT'
            //     });
            // }, 1000)
        },
        api: {
            bindevent: function () {
                Form.api.bindevent($("form[role=form]"));
            }
        }
    };
    return Controller;
});